home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "rtpidx.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTPIDX
-
- IMPLEMENT_DYNCREATE(CRTPIDX, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTPIDX properties
-
- long CRTPIDX::GetWindowBackgroundColor()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetWindowBackgroundColor(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long CRTPIDX::GetWindowBorderColor()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetWindowBorderColor(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- long CRTPIDX::GetPlotBackgroundColor()
- {
- long result;
- GetProperty(0x3, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPlotBackgroundColor(long propVal)
- {
- SetProperty(0x3, VT_I4, propVal);
- }
-
- long CRTPIDX::GetWindowBorderStyle()
- {
- long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetWindowBorderStyle(long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- double CRTPIDX::GetTopPlotArea()
- {
- double result;
- GetProperty(0x5, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetTopPlotArea(double propVal)
- {
- SetProperty(0x5, VT_R8, propVal);
- }
-
- double CRTPIDX::GetRightPlotArea()
- {
- double result;
- GetProperty(0x6, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetRightPlotArea(double propVal)
- {
- SetProperty(0x6, VT_R8, propVal);
- }
-
- double CRTPIDX::GetLeftPlotArea()
- {
- double result;
- GetProperty(0x7, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetLeftPlotArea(double propVal)
- {
- SetProperty(0x7, VT_R8, propVal);
- }
-
- long CRTPIDX::GetWindowResizeMode()
- {
- long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetWindowResizeMode(long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- long CRTPIDX::GetWindowBorderThickness()
- {
- long result;
- GetProperty(0x9, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetWindowBorderThickness(long propVal)
- {
- SetProperty(0x9, VT_I4, propVal);
- }
-
- double CRTPIDX::GetBottomPlotArea()
- {
- double result;
- GetProperty(0xa, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetBottomPlotArea(double propVal)
- {
- SetProperty(0xa, VT_R8, propVal);
- }
-
- BOOL CRTPIDX::GetBarAutoPosition()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetBarAutoPosition(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- double CRTPIDX::GetPIDDerivGain()
- {
- double result;
- GetProperty(0xc, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDDerivGain(double propVal)
- {
- SetProperty(0xc, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDFilterConstant()
- {
- double result;
- GetProperty(0xd, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDFilterConstant(double propVal)
- {
- SetProperty(0xd, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDInputHighValue()
- {
- double result;
- GetProperty(0xe, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputHighValue(double propVal)
- {
- SetProperty(0xe, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDInputLowValue()
- {
- double result;
- GetProperty(0xf, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputLowValue(double propVal)
- {
- SetProperty(0xf, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDIntegralGain()
- {
- double result;
- GetProperty(0x10, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDIntegralGain(double propVal)
- {
- SetProperty(0x10, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputHighClamp()
- {
- double result;
- GetProperty(0x11, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputHighClamp(double propVal)
- {
- SetProperty(0x11, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputHighValue()
- {
- double result;
- GetProperty(0x12, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputHighValue(double propVal)
- {
- SetProperty(0x12, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputLowClamp()
- {
- double result;
- GetProperty(0x13, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputLowClamp(double propVal)
- {
- SetProperty(0x13, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputLowValue()
- {
- double result;
- GetProperty(0x14, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputLowValue(double propVal)
- {
- SetProperty(0x14, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputRateClamp()
- {
- double result;
- GetProperty(0x15, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputRateClamp(double propVal)
- {
- SetProperty(0x15, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputSteadyState()
- {
- double result;
- GetProperty(0x16, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputSteadyState(double propVal)
- {
- SetProperty(0x16, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDSamplePeriod()
- {
- double result;
- GetProperty(0x17, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDSamplePeriod(double propVal)
- {
- SetProperty(0x17, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDSetpoint()
- {
- double result;
- GetProperty(0x18, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDSetpoint(double propVal)
- {
- SetProperty(0x18, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDPropGain()
- {
- double result;
- GetProperty(0x19, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDPropGain(double propVal)
- {
- SetProperty(0x19, VT_R8, propVal);
- }
-
- BOOL CRTPIDX::GetPIDInvertedOutput()
- {
- BOOL result;
- GetProperty(0x1a, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInvertedOutput(BOOL propVal)
- {
- SetProperty(0x1a, VT_BOOL, propVal);
- }
-
- CString CRTPIDX::GetPIDLabelsFont()
- {
- CString result;
- GetProperty(0x1b, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLabelsFont(LPCTSTR propVal)
- {
- SetProperty(0x1b, VT_BSTR, propVal);
- }
-
- long CRTPIDX::GetPIDLabelsSize()
- {
- long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLabelsSize(long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- long CRTPIDX::GetPIDLabelsFontStyle()
- {
- long result;
- GetProperty(0x1d, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLabelsFontStyle(long propVal)
- {
- SetProperty(0x1d, VT_I4, propVal);
- }
-
- CString CRTPIDX::GetPIDAutoString()
- {
- CString result;
- GetProperty(0x1e, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDAutoString(LPCTSTR propVal)
- {
- SetProperty(0x1e, VT_BSTR, propVal);
- }
-
- CString CRTPIDX::GetPIDManualString()
- {
- CString result;
- GetProperty(0x1f, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDManualString(LPCTSTR propVal)
- {
- SetProperty(0x1f, VT_BSTR, propVal);
- }
-
- CString CRTPIDX::GetPIDNormalString()
- {
- CString result;
- GetProperty(0x20, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDNormalString(LPCTSTR propVal)
- {
- SetProperty(0x20, VT_BSTR, propVal);
- }
-
- double CRTPIDX::GetPIDInputCenterValue()
- {
- double result;
- GetProperty(0x21, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputCenterValue(double propVal)
- {
- SetProperty(0x21, VT_R8, propVal);
- }
-
- long CRTPIDX::GetPIDInputPrecision()
- {
- long result;
- GetProperty(0x22, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputPrecision(long propVal)
- {
- SetProperty(0x22, VT_I4, propVal);
- }
-
- double CRTPIDX::GetPIDOutputCenterValue()
- {
- double result;
- GetProperty(0x23, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputCenterValue(double propVal)
- {
- SetProperty(0x23, VT_R8, propVal);
- }
-
- long CRTPIDX::GetPIDOutputPrecision()
- {
- long result;
- GetProperty(0x24, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputPrecision(long propVal)
- {
- SetProperty(0x24, VT_I4, propVal);
- }
-
- CString CRTPIDX::GetPIDInputUnits()
- {
- CString result;
- GetProperty(0x25, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputUnits(LPCTSTR propVal)
- {
- SetProperty(0x25, VT_BSTR, propVal);
- }
-
- long CRTPIDX::GetPIDLabelsColor()
- {
- long result;
- GetProperty(0x26, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLabelsColor(long propVal)
- {
- SetProperty(0x26, VT_I4, propVal);
- }
-
- CString CRTPIDX::GetPIDOutputUnits()
- {
- CString result;
- GetProperty(0x27, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputUnits(LPCTSTR propVal)
- {
- SetProperty(0x27, VT_BSTR, propVal);
- }
-
- BOOL CRTPIDX::GetPIDBargraphEnable()
- {
- BOOL result;
- GetProperty(0x28, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDBargraphEnable(BOOL propVal)
- {
- SetProperty(0x28, VT_BOOL, propVal);
- }
-
- double CRTPIDX::GetPIDManualOutputValue()
- {
- double result;
- GetProperty(0x29, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDManualOutputValue(double propVal)
- {
- SetProperty(0x29, VT_R8, propVal);
- }
-
- long CRTPIDX::GetPIDNormalAlarmColor()
- {
- long result;
- GetProperty(0x2a, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDNormalAlarmColor(long propVal)
- {
- SetProperty(0x2a, VT_I4, propVal);
- }
-
- long CRTPIDX::GetPIDLowAlarmColor()
- {
- long result;
- GetProperty(0x2b, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLowAlarmColor(long propVal)
- {
- SetProperty(0x2b, VT_I4, propVal);
- }
-
- long CRTPIDX::GetPIDHighAlarmColor()
- {
- long result;
- GetProperty(0x2c, VT_I4, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDHighAlarmColor(long propVal)
- {
- SetProperty(0x2c, VT_I4, propVal);
- }
-
- BOOL CRTPIDX::GetPIDAlarmMessageEnable()
- {
- BOOL result;
- GetProperty(0x2d, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDAlarmMessageEnable(BOOL propVal)
- {
- SetProperty(0x2d, VT_BOOL, propVal);
- }
-
- CString CRTPIDX::GetPIDHighAlarmString()
- {
- CString result;
- GetProperty(0x2e, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDHighAlarmString(LPCTSTR propVal)
- {
- SetProperty(0x2e, VT_BSTR, propVal);
- }
-
- double CRTPIDX::GetPIDHighAlarmValue()
- {
- double result;
- GetProperty(0x2f, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDHighAlarmValue(double propVal)
- {
- SetProperty(0x2f, VT_R8, propVal);
- }
-
- CString CRTPIDX::GetPIDLowAlarmString()
- {
- CString result;
- GetProperty(0x30, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLowAlarmString(LPCTSTR propVal)
- {
- SetProperty(0x30, VT_BSTR, propVal);
- }
-
- double CRTPIDX::GetPIDLowAlarmValue()
- {
- double result;
- GetProperty(0x31, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDLowAlarmValue(double propVal)
- {
- SetProperty(0x31, VT_R8, propVal);
- }
-
- CString CRTPIDX::GetPIDNormalAlarmString()
- {
- CString result;
- GetProperty(0x32, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDNormalAlarmString(LPCTSTR propVal)
- {
- SetProperty(0x32, VT_BSTR, propVal);
- }
-
- double CRTPIDX::GetPIDInputValue()
- {
- double result;
- GetProperty(0x33, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDInputValue(double propVal)
- {
- SetProperty(0x33, VT_R8, propVal);
- }
-
- double CRTPIDX::GetPIDOutputValue()
- {
- double result;
- GetProperty(0x34, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetPIDOutputValue(double propVal)
- {
- SetProperty(0x34, VT_R8, propVal);
- }
-
- BOOL CRTPIDX::GetEnableInternalTimer()
- {
- BOOL result;
- GetProperty(0x35, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetEnableInternalTimer(BOOL propVal)
- {
- SetProperty(0x35, VT_BOOL, propVal);
- }
-
- double CRTPIDX::GetTimerFrequency()
- {
- double result;
- GetProperty(0x36, VT_R8, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetTimerFrequency(double propVal)
- {
- SetProperty(0x36, VT_R8, propVal);
- }
-
- BOOL CRTPIDX::GetSDataSimulationMode()
- {
- BOOL result;
- GetProperty(0x37, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRTPIDX::SetSDataSimulationMode(BOOL propVal)
- {
- SetProperty(0x37, VT_BOOL, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTPIDX operations
-
- CString CRTPIDX::GetTitleString(long title)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- title);
- return result;
- }
-
- void CRTPIDX::SetTitleString(long title, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x3e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- title, lpszNewValue);
- }
-
- CString CRTPIDX::GetTitleFont(long title)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- title);
- return result;
- }
-
- void CRTPIDX::SetTitleFont(long title, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x3f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- title, lpszNewValue);
- }
-
- long CRTPIDX::GetTitleColor(long title)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- title);
- return result;
- }
-
- void CRTPIDX::SetTitleColor(long title, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x40, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- title, nNewValue);
- }
-
- long CRTPIDX::GetTitleFontStyle(long title)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- title);
- return result;
- }
-
- void CRTPIDX::SetTitleFontStyle(long title, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- title, nNewValue);
- }
-
- long CRTPIDX::GetTitleFontSize(long title)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- title);
- return result;
- }
-
- void CRTPIDX::SetTitleFontSize(long title, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- title, nNewValue);
- }
-
- long CRTPIDX::GetPIDChannelColor(long nChannel)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- nChannel);
- return result;
- }
-
- void CRTPIDX::SetPIDChannelColor(long nChannel, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nChannel, nNewValue);
- }
-
- CString CRTPIDX::GetPIDTagName(long nChannel)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- nChannel);
- return result;
- }
-
- void CRTPIDX::SetPIDTagName(long nChannel, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nChannel, lpszNewValue);
- }
-
- double CRTPIDX::CalcPID(double rInput)
- {
- double result;
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x38, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
- rInput);
- return result;
- }
-
- double CRTPIDX::GetPIDChannelInitialValue(long nChannel)
- {
- double result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms,
- nChannel);
- return result;
- }
-
- void CRTPIDX::SetPIDChannelInitialValue(long nChannel, double newValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_R8;
- InvokeHelper(0x45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nChannel, newValue);
- }
-
- void CRTPIDX::UpdatePIDBargraph(double rInputValue, double rSetpoint, double rOutputValue)
- {
- static BYTE parms[] =
- VTS_R8 VTS_R8 VTS_R8;
- InvokeHelper(0x39, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- rInputValue, rSetpoint, rOutputValue);
- }
-
- BOOL CRTPIDX::SerializeLoadFile(LPCTSTR sFilename)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3a, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- sFilename);
- return result;
- }
-
- BOOL CRTPIDX::SerializeSaveFile(LPCTSTR sFilename)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3b, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- sFilename);
- return result;
- }
-
- BOOL CRTPIDX::CopyToClipboard()
- {
- BOOL result;
- InvokeHelper(0x3c, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- BOOL CRTPIDX::SavePageMeta(long mftype, LPCTSTR sFilename)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x3d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- mftype, sFilename);
- return result;
- }
-
- void CRTPIDX::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-